<?php
require_once 'phpmoko/lib/common.php';

require_once 'phpmoko/ui/Panel.php';

class FlowPanel extends Panel
{

	function __construct()
	{
		parent::__construct();

		$this->setStyleName('pmk-FlowPanel');
	}

	function toString()
	{
		$str = '<div';

		$str .= ' id="' . $this->id . '"';

		$str .= '>';

		foreach ($this as $widget)
			$str .= Widget::toStringSafe($widget);

		$str .= '</div>';

		return $str;
	}
}
?>